package com.sicaolong.myfunctionproject.model;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class PlayerBuilder {

    public static List<Player> buildPlayerList() {
        Hero heroLiBai = new Hero("李白", "刺客", "男");
        Hero heroYunChang = new Hero("关羽", "战士,坦克", "男");
        Hero heroKai = new Hero("凯爹", "刺客,战士,坦克", "男");
        Hero heroMonkey = new Hero("猴子", "刺客,战士", "男");
        Hero heroMake = new Hero("马可波罗", "刺客,射手", "男");
        Hero heroDiRenJie = new Hero("狄仁杰", "射手", "男");
        Hero heroDiaoChan = new Hero("貂蝉", "法师,刺客", "女");
        Hero heroHuoWu = new Hero("不知火舞", "法师,刺客", "女");
        Hero heroAilin = new Hero("艾琳", "法师,射手", "女");


        Player player = new Player("司曹龙", Arrays.asList(heroYunChang, heroKai, heroMonkey, heroDiRenJie));
        Player player1 = new Player("寒夜", Arrays.asList(heroDiaoChan, heroKai, heroMake, heroAilin, heroMonkey));
        Player player2 = new Player("张伟", Arrays.asList(heroLiBai, heroYunChang, heroKai, heroDiRenJie, heroHuoWu, heroDiaoChan));

        return Arrays.asList(player, player1, player2);

    }
}
